<include file="./Application/Admin/View/Public/htmlheader.html" />
<include file="./Application/Admin/View/Public/header.html" />
<include file="./Application/Admin/View/Public/left.html" />

<ol class="breadcrumb">
    <li><a href="/Admin/Interface">接口列表</a></li>
    <li class="active">修改接口</li>
</ol>

<form action="/Admin/Interface/save" method="post">
    <input type="hidden" name="id" value="{$interfaceInfo['id']}">
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>接口名称：</div>
        <div class="col-lg-3"><input type="text" name="name" value="{$interfaceInfo['name']}" class="form-control" /></div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>接口地址：</div>
        <div class="col-lg-3"><input type="text" name="url" value="{$interfaceInfo['url']}" class="form-control" /></div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3 text-right"><span class="red">*</span>状态：</div>
        <div class="col-lg-3">
            <if condition="$interfaceInfo['status'] eq 0">
                <input type="radio" name="status" value="0" checked> <span class="red">禁用</span>
                <input type="radio" name="status" value="1"> <span class="green">起用</span>
                <else />
                <input type="radio" name="status" value="0"> <span class="red">禁用</span>
                <input type="radio" name="status" value="1" checked> <span class="green">起用</span>
            </if>
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-lg-3"></div>
        <div class="col-lg-3"><button type="submit" class="btn btn-primary">确定</button></div>
    </div>
</form>
<include file="./Application/Admin/View/Public/footer.html" />